<?php
/**
 * 统计访问情况
 */

namespace frontend\controllers;


use common\models\Statistics;
use yii\web\Controller;

class StatisticsController extends Controller
{
    /**
     * 访问统计
     */
    public function actionVisit($url, $id = 0)
    {
        Statistics::log($url, $id);
    }
}